@charset "utf-8";
@import "common/reset";
@function p($px){
    @return $px/2+px;
}

.mobile{
    header{
        overflow: hidden;
        .logo{
            float: left;
            width: p(123);
            height: p(123);
            overflow: hidden;
            margin-top: p(17);
            margin-left: p(23);
            img{
                height: 100%;
            }
        }
        .search{
            width: p(268);
            height: p(55);
            border: 1px solid #ff9344;
            border-radius: p(22);
            margin: 0 auto;
            margin-top: p(51);
            input[type="text"]{
                width: p(174);
                height: p(45);
                vertical-align: middle;
                border: none;
                margin-left: p(28);
                font-size: p(24);
                margin-top: p(5);
            }
            input[type="image"]{
                width: p(36);
                height: p(34);
                vertical-align: middle;
                margin-left: p(12);
            }
        }
        .sel{
            float: right;
            margin-top: p(47);
            margin-right: p(21);
            width: p(163);
            height: p(60);
            border: p(3) solid #ff9344;
            position: relative;
            select{
                border: none;
                appearance: none;
                -moz-appearance: none;
                -webkit-appearance: none;
                width: 100%;
                height: 100%;
                padding-left: p(14);
            }
            select::-ms-expand{display: none;}
            &::after{
                position: absolute;
                width: 0;
                height: 0;
                content: "";
                display: inline-block;
                border-top: p(16) solid #ff9344;
                border-right: p(16) solid transparent;
                border-left: p(16) solid transparent;
                top: p(22);
                right: p(11);
            }
        }
    }
    section{
        overflow: hidden;
        margin-bottom: p(136);
        .lunbo{
            margin-top: p(10);
            margin-bottom: p(28);
            img{
                width: 100%;
            }   
        }
        .tuangou{
            height: p(325);
            width: 100%;
            .title{
                width: 100%;
                height: p(64);
                img{
                    &:nth-of-type(1){
                        width: p(56);
                        margin-left: 2.8%;
                        float: left;
                    }
                    &:nth-of-type(2){
                        width: p(25);
                        margin-right: 2.8%;
                        float: right;
                        margin-top: p(20);
                    }
                }
                h2{
                    font-size: p(30);
                    margin-left: p(10);
                    margin-top: p(10);
                    float: left;
                }
                a{
                    color: black;
                    font-size: p(24);
                    float: right;
                    font-weight: bold;
                    margin-right: p(10);
                    margin-top: p(16);
                }
            }
            >img{
                width: p(241);
                height: p(100);
                margin-top: p(14);
                &:hover{
                    cursor: pointer;
                }
                &:nth-of-type(1){
                    margin-left: 10%;
                    float: left;
                }
                &:nth-of-type(2){
                    margin-right: 10%;
                    float: right;
                }
                &:nth-of-type(3){
                    margin-left: 10%;
                    float: left;
                    margin-top: p(32);
                }
                &:nth-of-type(4){
                    margin-right: 10%;
                    float: right;
                    margin-top: p(32);
                }
            }
        }
        .xihuan{
            width: 100%;
            height: p(470);
            overflow: hidden;
            .title{
                width: 100%;
                height: p(64);
                margin-top: p(30);
                margin-bottom: p(24);
                img{
                    &:nth-of-type(1){
                        width: p(56);
                        margin-left: 2.8%;
                        float: left;
                    }
                    &:nth-of-type(2){
                        width: p(25);
                        margin-right: 2.8%;
                        float: right;
                        margin-top: p(12);
                    }
                }
                h2{
                    font-size: p(30);
                    margin-left: p(10);
                    margin-top: p(4);
                    float: left;
                }
                a{
                    color: black;
                    font-size: p(24);
                    float: right;
                    font-weight: bold;
                    margin-right: p(10);
                    margin-top: p(8);
                }
            }
            .content{
                width: 96%;
                height: p(166);
                margin-left: 2%;
                overflow: hidden;
                font-size: p(22);
                color: #494949;
                &:nth-of-type(3){
                    margin-top: p(30);
                    img{
                        top: 0;
                    }
                }
                img{
                    width: p(234);
                    position: relative;
                    top: p(-100);
                    float: left;
                }
                a{
                    color: black;
                    font-size: p(30);
                    font-weight: bold;
                    margin-left: 2%;
                    margin-top: p(8);
                    float: left;
                    &:nth-of-type(2){
                        font-size: p(32);
                        color: #FF9344;
                    }
                }
                span{
                    float: right;
                    margin-top: p(16);
                    margin-right: 2.8%;
                }
                p{
                    float: left;
                    margin-left: p(26);
                    margin-top: p(20);
                    color: #494949;
                    width: 52%;
                }
            }
        }
    }
    footer{
        position: fixed;
        width: 100%;
        bottom: 0;
        height: p(136);
        background-color: white;
        ul{
            li{
                width: 25%;
                float: left;
                text-align: center;
                a{
                    font-size: p(26);
                    color: black;
                    img{
                        width: p(73);
                        margin-top: p(16);
                    }
                    span{
                        display: block;
                    }
                }
            }
        }
    }
}
